package com.knife.hospital.mapper;

import com.knife.hospital.entity.DepartmentPO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface DepartmentPOMapper {
    List<DepartmentPO> getAllDepartment();

    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentPO record);

    int insertSelective(DepartmentPO record);

    DepartmentPO selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DepartmentPO record);

    int updateByPrimaryKey(DepartmentPO record);
}
